import axios from 'axios'

const get = ({url}) => {
  return new Promise((resolve, reject) => {
    axios({
      url
    }).then(result => resolve(result))
    .catch(error => reject(error))
  })
}

export {
  get
}